package org.shijiagen.clients;

import org.shijiagen.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(name = "collect-service",url = "http://localhost:3008")
public interface CollectClient {

    @PostMapping("collect/remove/product")
    R removeByPid(@RequestBody Integer productId);
}
